package com.gxar.quick.ar.server.base.model.user.vo.response;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author linsy
 * @version 1.0
 * @created 2024/2/23 14:11
 */
@Data
@ApiModel("管理端用户分页查询响应")
public class AdminUserPageResponse {

    @ApiModelProperty("ID")
    @JSONField(name = "id")
    @JsonProperty("id")
    private String id;

    @ApiModelProperty("用户ID")
    @JSONField(name = "user_id")
    @JsonProperty("user_id")
    private Long userId;

    @ApiModelProperty("手机号")
    @JSONField(name = "phone")
    @JsonProperty("phone")
    private String creator;

    @ApiModelProperty("创建日期")
    @JSONField(name = "createdAt")
    @JsonProperty("createdAt")
    @JsonFormat(pattern = "yyyy.MM.dd", timezone = "GMT+8")
    private Date createdAt;

    @ApiModelProperty("修改日期")
    @JSONField(name = "updated_at")
    @JsonProperty("updated_at")
    @JsonFormat(pattern = "yyyy.MM.dd", timezone = "GMT+8")
    private Date updatedAt;

    @ApiModelProperty("模板数量")
    @JSONField(name = "template_number")
    @JsonProperty("template_number")
    private Integer templateNumber;

}
